package com.zenith.edu.po.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@Schema(name = "EduCourseVO", description = "课程VO")
public class EduCourseVO {
    
    @Schema(description = "主键ID")
    private Long id;
    
    @Schema(description = "课程名称")
    private String courseName;
    
    @Schema(description = "课程唯一代码")
    private String courseCode;
    
    @Schema(description = "课程封面URL")
    private String coverUrl;
    
    @Schema(description = "课程类型：1-录播 2-直播 3-混合")
    private Integer courseType;
    
    @Schema(description = "学分")
    private BigDecimal credit;
    
    @Schema(description = "课程简介")
    private String intro;
    
    @Schema(description = "状态：1-正常 2-禁用")
    private Integer status;
    
    @Schema(description = "扩展信息（JSON）")
    private String extJson;
    
    @Schema(description = "创建时间")
    private LocalDateTime createTime;
    
    @Schema(description = "更新时间")
    private LocalDateTime updateTime;
    
    @Schema(description = "创建人ID")
    private Long createBy;
    
    @Schema(description = "更新人ID")
    private Long updateBy;
}